package com.aks.student.career.webapp.action;

import com.aks.student.career.common.model.User;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;

/**
 * User: tr1a6333
 * Date: 07.06.2012
 * Time: 17:24
 */
@ManagedBean(name = "registrationBean")
@ViewScoped
public class RegistrationBean {

    private int activeIndex = 0;

    private int arrivalType = 0;

    private int approve1 = 0;
    private User user = new User();

    public int getActiveIndex() {
        return activeIndex;
    }

    public void setActiveIndex(int activeIndex) {
        this.activeIndex = activeIndex;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getApprove1() {
        return approve1;
    }

    public void setApprove1(int approve1) {
        this.approve1 = approve1;
    }

    public int getArrivalType() {
        return arrivalType;
    }

    public void setArrivalType(int arrivalType) {
        this.arrivalType = arrivalType;
    }
}
